//index.js
//获取应用实例
var app = getApp()
Page({
  data: {
    beijingheight:0,
    luxian: [{ time: "08:00", address: "钱都不知道" }, { time: "08:00", address: "钱都不知道"}]
    },
  onLoad: function (options) {
    var that = this 
    var beijingheight = that.data.beijingheight
wx.getSystemInfo({
  success: function(res) {
that.setData({
  beijingheight:res.windowHeight
})
  },
})
  },
  onReady: function () {
    //console.log('onReady:index');
  },
  onShow: function () {
    //console.log('onShow:index');
  },
  onHide: function () {
  },
  onUnload: function () {
    //console.log('onUnload:index')
  },
  onPullDownRefresh: function () {
    //console.log('onPullDownRefresh:index')
  },
  onReachBottom: function () {
    //console.log('onReachBottom:index')
  },
  onShareAppMessage: function () {
    //console.log('onShareAppMessage:index')
  },
 
})
